package com.unittec.zk.provider.exam.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.unittec.zk.provider.root.EntityRoot;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 考试记录
 */
@Data
@TableName(value = "el_user_exam")
public class ElUserExam extends EntityRoot implements Serializable {


    /**
    * 用户ID
    */
    @TableField(value = "user_id")
    private String userId;

    /**
    * 考试ID
    */
    @TableField(value = "exam_id")
    private String examId;

    /**
    * 考试次数
    */
    @TableField(value = "try_count")
    private Integer tryCount;

    /**
    * 最高分数
    */
    @TableField(value = "max_score")
    private Integer maxScore;

    /**
    * 是否通过
    */
    @TableField(value = "passed")
    private Byte passed;

    private static final long serialVersionUID = 1L;
}